//
//  TokenCacheManager.h
//  PigMarket
//
//  Created by Felix on 2019/4/11.
//  Copyright © 2019 felix.pigmarket.oc. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN

@interface TokenCacheManager : NSObject

+ (instancetype) sharedInstance;

/**
 memberToken
 */
@property (nonatomic , strong, nullable) NSString *memberToken;

/**
 清除访问令牌，如果当前缓存中的令牌与传入的令牌相等
 
 @param memberToken 访问令牌
 */
- (void)clearMemberToken:(NSString *)memberToken;

@end

NS_ASSUME_NONNULL_END
